package articles.service;

import java.util.regex.Pattern;

public class Test {
	public Test()
	{
		String string  = "";
		String str  = " .Each college.has ";
		System.out.println(str.replaceAll("[ .]+", " "));
		if(Pattern.matches("^[^.]+[\\w\\W]+", str))
		{
			System.out.println("abc");
		}
		
		
		
	}
	public static void main(String[] args) {
		new Test();

	}
}
